/* Calculator 组件样式 */
.calculator {
  width: 260px;
  margin: 0 auto;
  background: #f7f8fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 20px 16px 16px 16px;
}
.calc-display {
  background: #fff;
  border-radius: 8px;
  padding: 12px 8px;
  margin-bottom: 16px;
  min-height: 48px;
  text-align: right;
  font-size: 1.2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.calc-input {
  color: #888;
  font-size: 1rem;
}
.calc-result {
  color: #1677ff;
  font-size: 1.2rem;
  font-weight: bold;
}
.calc-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.calc-buttons button {
  padding: 12px 0;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  background: #e6f4ff;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
}
.calc-buttons button:hover {
  background: #bae0ff;
}
.calc-buttons .clear {
  grid-column: span 4;
  background: #ff7875;
  color: #fff;
}
.calc-buttons .clear:hover {
  background: #d4380d;
}
